package com.trade.module.daq.entity;

import com.trade.module.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Class Description: 文件信息实体类
 *
 * @Version v1.0 2017/6/17 12:17
 * @JDK version 1.8.0_51
 * @Author zfb
 */
@Entity
@Table(name = "daq_file_entity")
public class FileEntity extends BaseEntity implements Serializable{
    private static final long serialVersionUID = -3063252382882785428L;
    /** 文件名称 */
    @Column(
            name = "file_name",
            length = 64
    )
    private String fileName;

    /** 文件大小 */
    @Column(
            name = "file_size",
            length = 5
    )
    private Long fileSize;

    /** 文件类型 */
    @Column(
            name = "file_type",
            length = 4
    )
    private String fileType;

    /** 文件临时名 */
    @Column(
            name = "file_temp_name",
            length = 64
    )
    private String fileTempName;

    /** 数据导入id */
    @Column(
            name = "data_import_id",
            length = 64
    )
    private String dataImportId;

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public String getFileTempName() {
        return fileTempName;
    }

    public void setFileTempName(String fileTempName) {
        this.fileTempName = fileTempName;
    }

    public String getDataImportId() {
        return dataImportId;
    }

    public void setDataImportId(String dataImportId) {
        this.dataImportId = dataImportId;
    }
}
